package com.zhike.b2b.news;

import java.util.List;

import org.springframework.stereotype.Service;

import com.zhike.b2b.model.NewsClassVo;
import com.zhike.b2b.model.NewsVo;

@Service
public interface INewsService {
	
	/**
	 * 根据类别ID查询资讯类别
	 * @param classId
	 * @return
	 */
	public NewsClassVo getClassById(String classId);
	
	/**
	  * 根据条件查询资讯列表
	  * @param classId
	  * @param limitStr
	  * @param orderCln
	  * @param commend
	  * @return
	  */ 
	public List<NewsVo> queryNews(String classId,String limitStr,String orderCln);
	
}
